home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / what's new / sample code / human interface toolbox / packagetool / readme < prev    next >
Encoding:
Text File  |  1999-10-22  |  2.6 KB  |  78 lines

  1. PackageTool
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. PackageTool is an application illustrating how to create application packages in Mac OS 9.  It provides a simple interface for converting correctly formatted folders into packages and vice versa.
  12.  
  13. Mac OS 9 Package Related techniques illustrated include:
  14. • how packages can be created,
  15. • how to detect packages,
  16. handling packages appropriately in drag handlers.
  17.  
  18. Other interesting techniques illustrated include:
  19. • retrieving icons for files,
  20. • graying out a section of a window
  21.  
  22. By John Montbriand.
  23.  
  24. Copyright © 1999 by Apple Computer, Inc.
  25. All rights reserved worldwide.
  26.     
  27. Disclaimer:
  28. You may incorporate this sample code into your applications without restriction, though the sample code has been provided "AS IS" and the responsibility for its operation is 100% yours.  However, what you are not permitted to do is to redistribute the source as "DSC Sample Code" after having made changes. If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple Sample Code, but that you've made changes.
  29.  
  30. Files:
  31.  
  32. :obj: - compiled object files.
  33.  
  34. ':PackageTool.prj Data:' - CodeWarrior project data.
  35.  
  36. ':Sample Package:' - an example package including the 'package aware' HTMLSample application.  Therein you will find an example package document and an example package application.
  37.  
  38. MakeFile - MPW make file.
  39.  
  40. PackageTool - the PackageTool application.
  41.  
  42. PackageTool.c - main program and event dispatching for the PackageTool application.
  43.  
  44. PackageTool.h - constant definitions and routine prototypes for the PackageTool application.
  45.  
  46. PackageTool.prj - CodeWarrior project file for building the application.
  47.  
  48. PackageTool.r - MPW Rez file the the application.
  49.  
  50. PackageTool.rsrc - ResEdit resource file for the resources used in the application.
  51.  
  52. PackageUtils.c - Utilities package savy applications can use for identifying packages.
  53.  
  54. PackageUtils.h - routine prototypes for routines defined in PackageUtils.c.
  55.  
  56. PackageWindow.c - routines implementing the window displayed by the PackageTool application.
  57.  
  58. PackageWindow.h - routine prototypes for routines defined in PackageWindow.c.
  59.  
  60. 'Re- C/F Registration Request' - creator file type registration for the PackageTool application.
  61.  
  62. ReadMe - see ReadMe.
  63.  
  64. SimplePrefs.c - routines for implementing preferences files as a datafork containing a flattened collection.
  65.  
  66. SimplePrefs.h - routine prototypes for routines defined in SimplePrefs.c.
  67.  
  68. Utilities.c - utility routines set aside to simplify the main example.
  69.  
  70. Utilities.h - routine prototypes for routines defined in Utilities.c.
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.